package com.example.asyncwrite.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@TableName("t_order_item_2")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderItem2 {
    @TableId(type = IdType.INPUT)
    private Long orderItemId;
    private Long orderId;
    private Long userId;
    private Long merchantId;
    private BigDecimal amount;
}
